b2d528
@@ -64,6 +64,8 @@
import org.apache.hadoop.hbase.util.FSUtils;
 import org.apache.hadoop.hbase.util.Pair;
 import org.apache.hadoop.hbase.util.Threads;
 
+import com.google.common.annotations.VisibleForTesting;
+
 /**
  * Distributes the task of log splitting to the available region servers.
  * Coordination happens via coordination engine. For every log file that has to be split a
@@ -355,6 +357,11 @@
public class SplitLogManager {
     }
   }
 
+  @VisibleForTesting
+  ConcurrentMap<String, Task> getTasks() {
+    return tasks;
+  }
+
   private int activeTasks(final TaskBatch batch) {
     int count = 0;
     for (Task t : tasks.values()) {
